#include <iostream>
#include <iomanip>
#include <fstream>
#include <cstdlib>
#include <ctime>
#include <algorithm>
#include <numeric>
#include <vector>
#include <queue>
#include <iterator>
#include <functional>
#include <boost/bind.hpp>
#include <boost/timer.hpp>
#include <boost/shared_ptr.hpp>

using namespace std;

int main(int argc, char **argv)
{
	priority_queue<int> PQ;
	srand( static_cast<int>(time(0)) );
	const int size = 20;
	for(int i=0; i<size; ++i)
		PQ.push( rand()%size );

	while( !PQ.empty() )
	{
		cout<<PQ.top()<<endl;
		PQ.pop();
	}

	return 0;
}
